package com.ym.shardingsphere.dao;

import com.ym.shardingsphere.entity.TxIntegral;
import com.ym.shardingsphere.vo.TxIntegralVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 晨曦
 * @since 2020-12-31
 */
@Repository
public interface TxIntegralMapper {

   int deleteByPrimaryKey(String IntegralId);

   int deleteByIdList(@Param("list") List<String> idList);

   int insert(TxIntegral record);

   int insertBatchs(List<TxIntegral> list);

   int insertSelective(TxIntegral record);

   int updateByPrimaryKeySelective(TxIntegral record);

   int updateByPrimaryKey(TxIntegral record);

   int updateByPrimaryKeySelectiveBatchs(List<TxIntegral> recordList);

   TxIntegral selectByPrimaryKey(String IntegralId);

   List<TxIntegral> getTxIntegralListByPage(TxIntegralVO parmVO);

   List<TxIntegral> getTxIntegralListByParm(TxIntegralVO parmVO);

}
